import axios from '@/utils/request';

export function getUserMaterialList(params) {
    return axios.post({
        url: '/user-material/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editUserMaterial(params) {
    return axios.post({
        url: '/user-material/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteUserMaterial(params) {
    return axios.post({
        url: '/user-material/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadUserMaterial(params) {
    return axios.post({
        url: '/user-material/load',
        data: params
    }).then((res) => {
        return res
    })
}

